]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
viewSelector: don't use resetShowAppsButton when pressing escape
authorCosimo Cecchi <cosimoc@gnome.org>
Sat, 16 Feb 2013 17:50:25 +0000 (12:50 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Sat, 16 Feb 2013 18:26:38 +0000 (13:26 -0500)
Set the checked property explicitly. This is because
resetShowAppsButton() will only be used to flip the button state
blocking the page change in a future commit.

https://bugzilla.gnome.org/show_bug.cgi?id=693974

js/ui/viewSelector.js

index 7a3182a2cf2179cf53030264fcd973b2905c9cd9..85ff6156d18d25e83302127b2577e186e6893677 100644 (file)
@@ -268,7 +268,7 @@ const ViewSelector = new Lang.Class({
             if (this._searchActive)
                 this.reset();
             else if (this._showAppsButton.checked)
-                this._resetShowAppsButton();
+                this._showAppsButton.checked = false;
             else
                 Main.overview.hide();
             return true;